"""
日志 | 数据层
"""

from models.po import AuditLogPO
from service.base import ServiceBase


class AuditLogService(ServiceBase[AuditLogPO]):
    """ 审计日志 | 数据层 """

    po = AuditLogPO
    collection_name = "common_audit_log"
    single_field_index = [
        "id",
        "model",
        "operation",
        "po_id_list",
        "request_id",
        "user_id",
    ]
